<?php

namespace App\HttpController\Api\Admin\Access;

use App\HttpController\Api\Admin\AdminBase;
use App\Model\User\UserModel;
use EasySwoole\Http\Message\Status;

class Pick extends AdminBase
{

    public function index()
    {
        $data = [
            [
                'id' => 1,
                'status' => 1,
                'student_name' => '张宝宝',
                'student_sex' => 1,
                'student_class' => '一年级五班',
                'relationship' => '父子',
                'name' => '张三',
                'phone' => '15625325623',
                'infomation' => '孩子放学',
                'pick_at' => '2021-08-11 10:00:00',
            ],
            [
                'id' => 2,
                'status' => 1,
                'student_name' => '张宝宝',
                'student_sex' => 1,
                'student_class' => '一年级五班',
                'relationship' => '父子',
                'name' => '张三',
                'phone' => '15625325623',
                'infomation' => '孩子放学',
                'pick_at' => '2021-08-11 10:00:00',
            ],
            [
                'id' => 3,
                'status' => 1,
                'student_name' => '张宝宝',
                'student_sex' => 1,
                'student_class' => '一年级五班',
                'relationship' => '父子',
                'name' => '张三',
                'phone' => '15625325623',
                'infomation' => '孩子放学',
                'pick_at' => '2021-08-11 10:00:00',
            ],
            [
                'id' => 4,
                'status' => 1,
                'student_name' => '张宝宝',
                'student_sex' => 1,
                'student_class' => '一年级五班',
                'relationship' => '父子',
                'name' => '张三',
                'phone' => '15625325623',
                'infomation' => '孩子放学',
                'pick_at' => '2021-08-11 10:00:00',
            ],
            [
                'id' => 5,
                'status' => 1,
                'student_name' => '张宝宝',
                'student_sex' => 1,
                'student_class' => '一年级五班',
                'relationship' => '父子',
                'name' => '张三',
                'phone' => '15625325623',
                'infomation' => '孩子放学',
                'pick_at' => '2021-08-11 10:00:00',
            ],
            [
                'id' => 6,
                'status' => 1,
                'student_name' => '张宝宝',
                'student_sex' => 1,
                'student_class' => '一年级五班',
                'relationship' => '父子',
                'name' => '张三',
                'phone' => '15625325623',
                'infomation' => '孩子放学',
                'pick_at' => '2021-08-11 10:00:00',
            ]
        ];

        $this->toJson(0, $data, 'ok');

    }

}